
export interface ResourcesData {
    [key: string]: Resource
}

export interface Resource {
    id: string,
    enabled: boolean,
    details: ResourceDetails,
    uiView: {
        color?: string
        icon?: string
        decimal?: number
    }
}

export interface ResourceDetails {
    name: string
    value: number
    max: number
    rate?: number,
    unit?: string
}